package com.demo.server;

import java.util.List;
import java.util.Map;

import com.demo.dao.INavigationDao;
import com.demo.entity.PayCompany;
import com.demo.entity.PayCompanyDetail;
import com.demo.entity.PayCompanyDynamic;
import com.jweb.annotaion.JAutowired;

public class NavigationServer {
	@JAutowired
	public INavigationDao dao;

	public List<Map<String, String>> listAllGroupLocation() {
		return dao.listGroupLocation();
	}

	public List<PayCompany> listCompanyByLocation(String location) {
		return dao.listCompanyByLocation(location);
	}

	public PayCompany getCompanyByID(int company_id) {
		return dao.getCompanyByID(company_id);
	}

	public PayCompanyDetail getCompanyDetailByID(int company_id) {
		return dao.getCompanyDetailByID(company_id);
	}

	public List<PayCompanyDynamic> getCompanyDynamicByID(int company_id) {
		return dao.getCompanyDynamicByID(company_id);
	}
}
